#pragma once

class Singleton
{
public:
    Singleton()
    {
        std::cout << "对象创建成功" << std::endl;
    }

    static Singleton& GetInstance()
    {
        return num;
    }

private:
    static Singleton num;
};

// int Singleton::num = 0;

